<!DOCTYPE html>
<html>
<head>
    <title>重设密码</title>
    <link href="__CSS__/public.css" rel="stylesheet" type="text/css" />
    <link href="__CSS__/login.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__JS__/jquery.min.js"></script>
</head>
<body>
<div class="head">
    <div class="head_div">
        <div class="head_a">
            <img src="__IMG__/logo.png">
        </div>
        <div class="head_b">
            没有账号？&nbsp;<a href="{:U('Login/reg')}">立即注册</a>
        </div>
    </div>
</div>
<div class="main">
    <div class="main_div">
        <div class="l">
            <img src="__IMG__/login_bg.jpg">
        </div>
        <div class="r">
            <div class="r_title">
                <h3>重设密码</h3>
            </div>
            <form action="{:U('repass')}" id="info_form" method="post">
                <div class="login">
                    <ul>
                        <input type="hidden" name="u" value="{$u}" />
                        <li><input class="input-text" style="width:190px;padding-right:0;" size="40" id="password" type="password" name="password" value="" placeholder="新密码"></li>
                        <li><input class="input-text" type="password" style="width:190px;padding-right:0;" id="pwdconfirm" value="" name="repass" placeholder="确认新密码"></li>
                        <li><input class="sub" type="submit" value="重置密码"></li>
                        <li style="line-height: 25px; height: 25px; margin-top:20px">如果您已有新账号，可以从这里登陆？<a target="_blank" href="{:U('Login/pass')}">用户登陆</a></li>
                        <li style="line-height: 25px;height: 25px">如果您没有会员账号，可以通过注册新账号进入注册。 <a target="_blank" href="{:U('Login/reg')}">注册新账号</a></li>
                    </ul>
                </div>
            </form>
        </div>
    </div>
</div>
<include file="Public:footer" />
<script src="__STATIC__/js/formvalidator.js"></script>
<script>
    $(function(){
        $.formValidator.initConfig({formid:"info_form",autotip:true});
        $("#password").formValidator({onshow:'请填写密码',onfocus:'密码由6-16位字线或数字组成'}).inputValidator({min:3,onerror:'至少为6个字符'});
        $("#pwdconfirm").formValidator({onshow:"请输入确认密码",onfocus:"两次密码不同。",oncorrect:"密码输入一致"}).compareValidator({desid:"password",operateor:"=",onerror:"两次密码不同。"});
    });

</script>
</body>
</html>